﻿#region Using

using Common.Base;

using CommunicationLibrary.TransportData;

#endregion

namespace ServerApplication.Interfaces
{
    public interface ICoreToNetwork
    {
        void SendGameLostMessage(Identifiable looser, Identifiable receiver);

        void SendGameWonMessage(Identifiable playerToInform);

        void SendGamePausedMessage(Identifiable playerToInform);

        void SendGameResumedMessage(Identifiable playerToInform);

        void SendGameState(GameState gameState, Identifiable playerToInform);

        void SendGameReady(Identifiable playerToInform, GameState startingState);

        void SendGameStarted(Identifiable playerToInform);
    }
}